/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package utilitarios;

/**
 *
 * @author KLINGER
 */
public class isNull {

    public String isNull(String c1, String c2) {
        String retorno = "";
        try {

            if (("".equals(c1)) || (c1 == null)) {
                retorno = c2;

            } else {

                retorno = c1;

            }
        } catch (Exception e) {
            return c2;
        }

        return retorno;
    }
}
